<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="Nuno Luciano" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS Cube" />

<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link rel="shortcut icon" href="<{$xoops_url}>/favicon.ico" />    

<!-- Theme Style -->
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />    

 <!-- RMV: added module header -->
<{$xoops_module_header}>

<script type="text/javascript" src="<{$xoops_imageurl}>js/jquery.tools.min.js"></script>
<script type="text/javascript" src="<{$xoops_imageurl}>js/slide.js"></script>
<script type="text/javascript" src="<{$xoops_imageurl}>js/jquery.corner.js"></script>

 
 <!--[if lt IE 8]>
   <style type="text/css">
   li a {display:inline-block;}
   li a {display:block;}
   </style>
   <![endif]-->
 
<script type="text/javascript">
<!--
<{$xoops_js}>

  // logic - call corner before DOM is ready
	$('#layout').corner("keep");
    $('#maincolumn').corner("keep");
	$('.leftblock').corner("keep");
	
// -->
</script>

</head>

<body>


<!-- Anchor Top Page -->
<a name="top" id="top"></a>


<!-- Panel -->
<div id="toppanel">
	<div id="toppanelcenter">
    
	<div id="panel">
    
		<div class="pcontent clearfix">

<!-- Panel Block Left : Custom Message : This can be replaced by a specific block that you can edit from Administration -->
    
<div class="left">
    <h1>Welcome to <{$xoops_sitename}></h1>
    <h2>Edit theme.html : code commented to help you customize</h2>		
    <p class="grey">The modules templates might require some modifications to match the theme. 
    You can edit templates from administration by creating a new template set or just copy them to your theme folder. 
    Same for graphics, icons used by modules and XOOPS Cube legacy.<br />Have Fun!</p>
</div>
         	


<!-- Panel Block Center : Register Form -->
          
<div class="center">			

    <{if $xoops_isuser == false}>
        <!-- Register Form -->
        <form  class="clearfix"  action="#" method="post">
            <h1>Not member? Register!</h1>				
            <label class="grey" for="signup">Username:</label>
            <input class="field" type="text" name="signup" id="signup" value="" size="23" />
            <label class="grey" for="email">Email:</label>
            <input class="field" type="text" name="email" id="email" size="23" />
            <label>A password will be e-mailed to you.</label>
            <input type="submit" name="submit" value="Register" class="bt_register" />
        </form>
        
        <{else}>
        
         <{foreach item=block from=$xoops_lblocks}>
            <{if $block.title|strstr:"Search"}>
            <h1><{$block.title}></h1>
            <div class="blockContent"><{$block.content}></div>
            <{/if}>
        <{/foreach}>
        
    <{/if}>

</div>
	
    
    
<!-- Panel Block Right : Login Form -->

<div class="right">	
    
    <{if $xoops_isuser == false}>
    
    <form class="clearfix" action="<{$xoops_url}>/user.php" method="post">
    <h1>Login</h1>
            <label class="grey" for="log"><{$smarty.const._MB_USER_USERNAME}></label>
            <input class="field" type="text" name="uname" id="uname" value="" size="23" />  
            <label class="grey" for="pwd"><{$smarty.const._MB_USER_PASSWORD}></label>
            <input class="field" type="password" name="pass" id="pass" size="23" />
            <label><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="On" /> &nbsp;<{$smarty.const._MB_USER_REMEMBERME}></label>
            
            <div class="floatclear"></div>
            
            <input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
            <input type="hidden" name="op" value="login" />
            <input type="submit" name="submit" value="<{$smarty.const._MB_USER_LOGIN}>" class="bt_login" />

            <a class="lost-pwd" href="<{$xoops_url}>/lostpass.php"><{$smarty.const._MB_USER_LOSTPASS}></a>
        </form>
        
        <{else}> 
        
        <{foreach item=block from=$xoops_lblocks}>
            <{if $block.title|strstr:"User"}>
            <h1><{$block.title}></h1>
            <div class="blockContent"><{$block.content}></div>
            <{/if}>
        <{/foreach}>
        
    <{/if}>		

</div>
            
 
	
	</div><!-- pcontent-->
	
</div> <!-- panel -->	



<!-- The Visible Tab on Top -->	
<div id="tablarge">
	
    <div class="tab">
		<ul class="login">
	    	<li class="left">&nbsp;</li>
	       
            <{if $xoops_isuser == false}>
            <li>Welcome !</li>
            <{else}>
            <li><{$xoops_uname}></li>
            <{/if}>
			
            <li class="sep">|</li>
			<li id="toggle">
				<a id="open" class="open" href="#">Login | Register</a>
				<a id="close" style="display: none;" class="close" href="#">Close Panel</a></li>
	    	<li class="right">&nbsp;</li>
		</ul> 
	</div><!-- / tab -->    

</div> <!-- toblarge -->
    
        
    </div><!-- toppanelcenter -->
    
</div> <!-- toppanel -->



<div id="header">     
    
    <img src="<{$xoops_imageurl}>images/header-logo.jpg" alt="<{$xoops_sitename}>" />


</div><!-- End Header -->


<!-- Slogan -->
<h1 class="slogan">Free Open Source Web Application Platform to Build Dynamic Web Sites !</h1>


<!-- Page Layout -->
<div id="layout">


<!-- Container for 2 Columns -->
<div id="layoutcontainer">


   



<div id="maincolumn">

    <{if !empty($xoops_contents)}>
    
        <!-- Module Content -->
        <div id="content"><{$xoops_contents}></div>

    <{/if}>
 
    <br />  
      
<{if $xoops_showcblock == 1}>
    <!-- BLOCK Center-Center -->  
    <div class="centerCcolumn">
        <{foreach item=block from=$xoops_ccblocks}>
        <div class="centerCblock">
            <div class="centerCblockTitle">
            <{if $xoops_isadmin}>
            <a href="<{$xoops_url}>/modules/legacy/admin/index.php?action=BlockEdit&amp;bid=<{$block.id}>"><img src="<{$xoops_imageurl}>images/edit.png" alt="edit" /></a> 
            <{/if}>
            <{$block.title}>
            </div>                      
            <div class="centerCblockContent"><{$block.content}></div>
        </div>
        <{/foreach}>
    </div>
<{/if}>


<!-- Float Clear -->
<div class="floatClear"></div>


</div><!-- End maincolumn -->





<!-- Side Column -->
<div id="side">

    <div class="sidecolumn">
      
    <{if $xoops_showlblock == 1}>
    <!-- Block Left -->
    <{foreach item=block from=$xoops_lblocks}>
    
    <{if !$block.title|strstr:"User" && !$block.title|strstr:"Search"}>
     
        <div class="leftblock">
            <div class="leftblockTitle">
            <{if $xoops_isadmin}>
            <a href="<{$xoops_url}>/modules/legacy/admin/index.php?action=BlockEdit&amp;bid=<{$block.id}>"><img src="<{$xoops_imageurl}>images/edit.png" alt="edit" /></a>
            <{/if}>
            <{$block.title}>
            </div>
            <div class="leftblockContent"><{$block.content}></div>
        </div>
    <{/if}>
        
    <{/foreach}>
    <{/if}>
    
    <{if $xoops_showrblock == 1}>
    <!-- Block Right --> 
    <{foreach item=block from=$xoops_rblocks}>
        <div class="rightblock">
            <div class="rightblockTitle">
                <{if $xoops_isadmin}>
                <a href="<{$xoops_url}>/modules/legacy/admin/index.php?action=BlockEdit&amp;bid=<{$block.id}>"><img src="<{$xoops_imageurl}>images/edit.png" alt="edit" /></a>
                <{/if}>
                <{$block.title}>
                </div>
            <div class="rightblockContent"><{$block.content}></div>
        </div>
    <{/foreach}>
    <{/if}>
    
	</div><!-- End sidecolumn -->



<!-- Float Clear -->
<div class="floatClear"></div>


</div><!--End Side -->








<!-- Float Clear -->
<div class="floatClear"></div>


<{if $xoops_showcblock == 1}>
<!-- Bottom Blocks : Center-Left and Center-Right -->
<div id="centerBlocks">

    <div id="centerBlocksContainer">

    <div class="centerLcolumn">
        <{foreach item=block from=$xoops_clblocks}>
            <div class="centerLblock">
                <div class="centerLblockTitle">
                <{if $xoops_isadmin}>
                <a href="<{$xoops_url}>/modules/legacy/admin/index.php?action=BlockEdit&amp;bid=<{$block.id}>"><img src="<{$xoops_imageurl}>images/edit.png" alt="edit" /></a>
                <{/if}>
                <{$block.title}>
                </div>
            <div class="centerLblockContent"><{$block.content}></div>
            </div>
        <{/foreach}>
    </div>

    <div class="centerRcolumn">
        <{foreach item=block from=$xoops_crblocks}>
            <div class="centerRblock">
                <div class="centerRblockTitle">
                <{if $xoops_isadmin}>
                <a href="<{$xoops_url}>/modules/legacy/admin/index.php?action=BlockEdit&amp;bid=<{$block.id}>"><img src="<{$xoops_imageurl}>images/edit.png" alt="edit" /></a>
                <{/if}>
                <{$block.title}>
                </div>
            <div class="centerRblockContent"><{$block.content}></div>
            </div>
        <{/foreach}>
     </div>

	
 
	
    </div><!-- End centerBlocksContainer --> 

<!-- Float Clear -->
<div class="floatClear"></div>

</div><!-- End centerBlocks -->
<{/if}>







<!-- Float Clear -->
<div class="floatClear"></div>


<div id="footer">
<a href="http://xoopscube.com.br/">Brasilian</a> | <a href="http://xoopscube.org/">English</a> | <a href="http://xoopscube.fr/">French</a> | <a href="http://www.xoopscube.de/">German</a> | <a href="http://www.xoopscube.gr/">Greek</a> | <a href="http://xoopscube.sourceforge.net/ja/">Japanese</a> | <a href="http://www.xoops.ne.kr/xoopscube/">Korean</a> | <a href="http://www.xoopscube.ru/">Russian</a> | <a href="http://www.xoopscube.tw/">T-Chinese</a>
<span><a href="#top"><img src="<{$xoops_imageurl}>images/top.gif" alt="top" title="top" hspace="15" /></a></span>
</div>

<!-- Float Clear -->
<div class="floatClear"></div>


</div><!-- End Layoutcontainer -->



</div><!-- End Layout -->



<!-- Float Clear -->
<div class="floatClear"></div>

<p class="credits"><{$xoops_footer}></p>


</body>
</html>